package wqh.pojo;


import java.util.List;

public class GeoBuildingTree {

    private Integer id;
    private String name;
    private Integer parentId;
    private Byte level;
    private String posX;
    private String posY;
    private String picture;
    private String description;
    private List<GeoBuildingTree> children;

    public GeoBuildingTree()
    {

    }

    public GeoBuildingTree(Integer id, String name, Integer parentId, Byte level, String posX, String posY, String picture, String description) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.level = level;
        this.posX = posX;
        this.posY = posY;
        this.picture = picture;
        this.description = description;
    }

    @Override
    public String toString() {
        return "GeoBuildingTree{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", level=" + level +
                ", posX='" + posX + '\'' +
                ", posY='" + posY + '\'' +
                ", picture='" + picture + '\'' +
                ", description='" + description + '\'' +
                ", children=" + children +
                '}';
    }

    public String getPosX() {
        return posX;
    }

    public void setPosX(String posX) {
        this.posX = posX;
    }

    public String getPosY() {
        return posY;
    }

    public void setPosY(String posY) {
        this.posY = posY;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public Byte getLevel() {
        return level;
    }

    public String getPicture() {
        return picture;
    }

    public String getDescription() {
        return description;
    }

    public List<GeoBuildingTree> getChildren() {
        return children;
    }

    public void setChildren(List<GeoBuildingTree> children) {
        this.children = children;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

}
